﻿namespace Homework06
{/// <summary>
/// 输出一个N行的直角三角形
/// </summary>
    internal class Homework06
    {
        static void Main()
        {
            Console.WriteLine("请输入行数：");
            int N = int.Parse(Console.ReadLine());
            for (int i = 1; i <= N; i++)
            {
                for (int j = 1; j <= i; j++)
                {
                    Console.Write("*");
                }
                Console.WriteLine("");
            }

        }
    }
}
